package software_construction.DesignProject.d4_DIP.demo1;

public class Computer {
    private IntelCpu intelCpu;
    private IntelMemory intelMemory;

    public Computer() {
    }

    public Computer(IntelCpu intelCpu, IntelMemory intelMemory) {
        this.intelCpu = intelCpu;
        this.intelMemory = intelMemory;
    }

    public void startRun(){
        intelCpu.calculate();;
        intelMemory.storage();
    }
}
